<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="stripes" uri="http://stripes.sourceforge.net/stripes.tld"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
  <head>
    <title>Edit Collaboration</title>
    <link href="styles.css" rel="stylesheet" type="text/css" />
  </head>

  <body>
    Add/Edit Collaboration: <br /><br />
    
    <stripes:form id="editCollaboration" action="/Collaboration.action">
    <table id="collaborationEdit" class="plainTable" border="1">
      <tr>
        <td class="label">Name:</td>
        <td><stripes:text name="name" value="${collaboration.name}" size="40" /></td>
      </tr>
      <tr>
        <td class="label">Collaborating Organizations:</td>
        <td><stripes:textarea name="collaboratingOrganizations" 
                              value="${collaboration.collaboratingOrganizations}"
                              class="text" 
                              rows="5" 
                              cols="40" />
        </td>
      </tr>
      <tr>
        <td class="label">Collaboration Types:</td>
        <td><stripes:textarea name="collaborationTypes" 
                              value="${collaboration.collaborationTypes}"
                              class="text" 
                              rows="5" 
                              cols="40" />
        </td>
      </tr>
      <tr>
        <td class="label">Years:</td>
        <td><stripes:textarea name="years" 
                              value="${collaboration.years}"
                              class="text" 
                              rows="5" 
                              cols="10" />
        </td>
      </tr>
      <tr>
        <td class="label">Outcome Types:</td>
        <td><stripes:textarea name="outcomeTypes" 
                              value="${collaboration.outcomeTypes}"
                              class="text" 
                              rows="5" 
                              cols="40" />
        </td>
      </tr>
      <tr>
        <td class="label">Description:</td>
        <td><stripes:textarea name="description" 
                              value="${collaboration.description}"
                              class="text" 
                              rows="5" 
                              cols="60" /></td>
    </table>
      <stripes:hidden name="name"/>
      <stripes:hidden name="collaboratingOrganizations"/>
      <stripes:hidden name="collaborationTypes"/>
      <stripes:hidden name="years"/>
      <stripes:hidden name="outcomeTypes"/>
      <stripes:hidden name="description"/>
      <stripes:submit value="Save" name="save"/>
    </stripes:form>
  </body>
</html>